{template 'public/header'}
{template 'public/comhead'}
<link rel="stylesheet" type="text/css" href="../addons/hyb_o2o/template/public/ygcsslist.css">
<style type="text/css">
     
    .yg5_key>div{float: left;line-height: 34px;}
    .store_td1{height: 45px;width: 50px;}
    .store_list_img{width: 40px;height: 40px;}
    .yg5_tabel{border-color: #e5e5e5;outline: 1px solid #e5e5e5;}
    .yg5_tr2>td{padding: 10px;border: 1px solid #e5e5e5;text-align: center;}
    .yg5_tr1>td{
        border: 1px solid #e5e5e5;
        background-color: #FAFAFA;
        font-weight: bold;
        text-align: center;
    }
    .ygcopy1>a>span,.ygcopy>a,.ygcopy>button,.td_type>span{margin-bottom: 10px;}
    .yg5_btn{background-color: #EEEEEE;color: #333;border: 1px solid #E4E4E4;border-radius: 6px;width: 100px;height: 34px;}
    .yghover2{position: absolute;bottom: -20px;left: -50%;z-index: 2;color: #333;display: none;}
    .yghover{position: relative;}
    .yghover:hover .yghover2{display: block;}
    .yglabel{background-color: #44abf7;display: inline-block;padding: 1px 10px;color: white;border-radius: 2px;font-size: 12px;}
    .yglabelgray{background-color: #d1dade;display: inline-block;padding: 1px 10px;color: white;border-radius: 2px;font-size: 12px;}
</style>
<ul class="nav nav-tabs">
    <span class="ygxian"></span>
    <div class="ygdangq">当前位置:</div>       
        <li class="active"><a href="{php echo $this->createWebUrl('base')}">基本信息设置</a></li>
</ul>
<div class="main">
<form class="form-horizontal" action="" method="post">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">基本信息设置</h3>
        </div>
            <div class="form-group" style="margin-top: 10px;">
                <label for="" class="control-label col-sm-2" style="margin-right:45px;">小程序名称</label>
                <div class="form-controls col-sm-5">
                     <input type="text" name="name" value="{$item['name']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">小程序名称</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">宣传图</label>
                <div class="form-controls col-sm-5">
                     {php echo tpl_form_field_multi_image('thumb', $item['thumb'])}
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">（建议尺寸658x351）</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px; color: red;">*平台商家首页是否显示</label>
                <div class="form-controls col-sm-5"  style="float: left;" >
                    <input type="radio" name="pt_show" id="open" value="1" {if $item['pt_show'] == 1} checked="true" {/if}/> 是
                    <input type="radio" name="pt_show" id="colse" value="0" {if $item['pt_show'] == 0} checked="true" {/if}/> 否
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block" style="color: red;">平台商家首页是否显示</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px; color: red;">*是否开启多城市</label>
                <div class="form-controls col-sm-5"  style="float: left;" >
                    <input type="radio" name="city_type" id="open" value="1" {if $item['city_type'] == 1} checked="true" {/if}/> 是
                    <input type="radio" name="city_type" id="colse" value="0" {if $item['city_type'] == 0} checked="true" {/if}/> 否
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block" style="color: red">是否开启多城市</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px; color: red;">*是否开启发单自动审核</label>
                <div class="form-controls col-sm-5"  style="float: left;" >
                    <input type="radio" name="fdsh_type" id="open" value="1" {if $item['fdsh_type'] == 1} checked="true" {/if}/> 是
                    <input type="radio" name="fdsh_type" id="colse" value="0" {if $item['fdsh_type'] == 0} checked="true" {/if}/> 否
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block" style="color: red">是否开启发单自动审核</div>
            </div>
            <div class="form-group" style="margin-top: 10px;">
                <label for="" class="control-label col-sm-2" style="margin-right:45px;">上门服务费用</label>
                <div class="form-controls col-sm-5">
                     <input type="text" name="sm_money" value="{$item['sm_money']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">上门服务费用</div>
            </div>

            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px; color: red;">*百度地图key</label>
                <div class="form-controls col-sm-5"  style="float: left;" >
                     <input type="text" name="baidukey"  value="{$item['baidukey']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div><span class="col-sm-1 help-block"></span>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block" style="color: red">百度地图key</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px; color: red;">*高德地图key</label>
                <div class="form-controls col-sm-5"  style="float: left;" >
                     <input type="text" name="gaodekey"  value="{$item['gaodekey']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div><span class="col-sm-1 help-block"></span>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block" style="color: red">高德地图key</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px; color: red;">*高德地图小程序key</label>
                <div class="form-controls col-sm-5"  style="float: left;" >
                     <input type="text" name="gaodexcxkey"  value="{$item['gaodexcxkey']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div><span class="col-sm-1 help-block"></span>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block" style="color: red">高德地图小程序key</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">小程序版权</label>
                <div class="form-controls col-sm-5">
                     <input type="text" name="banquan"  value="{$item['banquan']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">小程序版权</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">商家员工入驻申请协议</label>
                <div class="form-controls col-sm-5">
                     {php echo tpl_ueditor('xieyi', $item['xieyi']);}
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">入驻申请协议</div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">首页头条图标</label>
                <div class="form-controls col-sm-5">
                     {php echo tpl_form_field_image('s_ttthumb', $item['s_ttthumb'])}
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block"></div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">全局颜色自定义</label>
                <div class="form-controls col-sm-5">
                     {php echo tpl_form_field_color('qjcolor', $item['qjcolor'])}
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block"></div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">全局颜色标题自定义</label>
                <div class="form-controls col-sm-5">
                     <!-- {php echo tpl_form_field_color('qjbcolor', $item['qjbcolor'])} -->
                    <input type="radio" name="qjbcolor" id="qjbcolor" value="#ffffff" {if $item['qjbcolor'] == "#ffffff"} checked="true" {/if}/> 白色
                    <input type="radio" name="qjbcolor" id="qjbcolor" value="#000000" {if $item['qjbcolor'] == "#000000"} checked="true" {/if}/> 黑色
                </div>
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block"></div>
            </div>
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">首页搜索框背景色</label>
                <div class="form-controls col-sm-5">
                     {php echo tpl_form_field_color('bcolor', $item['bcolor'])}
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block"></div>
            </div>
    <div class="form-group">
        <div class="col-sm-12" style="margin-left: 200px;">
            <input name="token" type="hidden" value="{$_W['token']}" />
            <input type="submit" class="btn btn-primary col-lg-1" style="height:auto" name="submit" value="提交" />
        </div>
    </div>
</form>
   
</div>
<script type="text/javascript">
$(function(){
        $("#frame-14").show();
        $("#yframe-14").addClass("wyactive");
    })

</script>
{template "common/footer"}
